home *** CD-ROM | disk | FTP | other *** search
/ The Macintosh Demo: Applications / Apple-MacintoshDemoApplicationsCD-1.0-1992.iso / More Information / Personal Press 2.0 / PPPouch / AutoCreate / Newsletters / _CNSetStoryFonts < prev    next >
MacBinary  |  1992-06-08  |  2.4 KB  |  [SGPA/SCPG]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: _CNSetStoryFonts

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Sun Jun 7 20:00:00 1992, modified Sun Jun 7 20:00:00 1992, creator 'SCPG', type 'SGPA', 1722 bytes "_CNSetStoryFonts" , at 0x73a 409 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[SGPA]
macFileCreator[SCPG]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 5f 43 4e 53 65 74 | 53 74 6f 72 79 46 6f 6e |.._CNSet|StoryFon|
|00000010| 74 73 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |ts......|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 47 50 41 53 43 50 | 47 01 00 00 00 00 00 00 |.SGPASCP|G.......|
|00000050| 00 00 00 00 00 06 ba 00 | 00 01 99 a6 58 53 80 a6 |........|....XS..|
|00000060| 58 53 80 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |XS......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 18 a5 00 00 |........|........|
|00000080| 6f 6e 20 53 65 74 53 74 | 6f 72 79 46 6f 6e 74 73 |on SetSt|oryFonts|
|00000090| 0d 67 6c 6f 62 61 6c 20 | 76 48 65 6c 76 65 74 69 |.global |vHelveti|
|000000a0| 63 61 0d 2d 2d 20 46 69 | 6e 64 20 61 6c 6c 20 74 |ca.-- Fi|nd all t|
|000000b0| 68 65 20 53 74 6f 72 69 | 65 73 20 26 20 73 65 74 |he Stori|es & set|
|000000c0| 20 74 68 65 69 72 20 66 | 6f 6e 74 73 20 74 6f 20 | their f|onts to |
|000000d0| 54 48 45 5f 46 4f 4e 54 | 0d 2d 2d 20 49 74 65 6d |THE_FONT|.-- Item|
|000000e0| 20 31 20 6f 66 20 6e 61 | 6d 65 20 74 65 6c 6c 73 | 1 of na|me tells|
|000000f0| 20 69 66 20 69 74 20 69 | 73 20 61 20 73 74 6f 72 | if it i|s a stor|
|00000100| 79 2e 20 28 57 6f 72 64 | 20 32 20 3d 20 53 74 6f |y. (Word| 2 = Sto|
|00000110| 72 79 20 4e 75 6d 62 65 | 72 29 0d 2d 2d 20 49 74 |ry Numbe|r).-- It|
|00000120| 65 6d 20 32 20 6f 66 20 | 6e 61 6d 65 20 74 65 6c |em 2 of |name tel|
|00000130| 6c 73 20 77 68 61 74 20 | 6c 69 6e 6b 20 6f 72 64 |ls what |link ord|
|00000140| 65 72 2e 20 28 57 6f 72 | 64 20 32 20 3d 20 49 66 |er. (Wor|d 2 = If|
|00000150| 20 69 74 20 61 20 74 69 | 74 6c 65 20 28 48 65 61 | it a ti|tle (Hea|
|00000160| 64 6c 69 6e 65 29 20 29 | 2e 0d 2d 2d 20 69 74 65 |dline) )|..-- ite|
|00000170| 6d 20 33 20 6f 66 20 6e | 61 6d 65 20 74 65 6c 6c |m 3 of n|ame tell|
|00000180| 73 20 77 68 61 74 20 70 | 61 67 65 20 69 74 20 69 |s what p|age it i|
|00000190| 73 20 6f 6e 2e 0d 0d 70 | 75 74 20 22 75 6e 6b 6e |s on...p|ut "unkn|
|000001a0| 6f 77 6e 22 20 69 6e 74 | 6f 20 54 68 65 53 74 6f |own" int|o TheSto|
|000001b0| 72 69 65 73 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |ries.put| 0 into |
|000001c0| 54 6f 74 61 6c 53 74 6f | 72 69 65 73 0d 0d 70 75 |TotalSto|ries..pu|
|000001d0| 74 20 76 48 65 6c 76 65 | 74 69 63 61 20 69 6e 74 |t vHelve|tica int|
|000001e0| 6f 20 54 48 45 5f 46 4f | 4e 54 0d 70 75 74 20 31 |o THE_FO|NT.put 1|
|000001f0| 32 20 69 6e 74 6f 20 54 | 48 45 5f 53 49 5a 45 0d |2 into T|HE_SIZE.|
|00000200| 0d 2d 2d 20 46 69 6e 64 | 20 61 6c 6c 20 74 68 65 |.-- Find| all the|
|00000210| 20 73 74 6f 72 69 65 73 | 2e 0d 72 65 70 65 61 74 | stories|..repeat|
|00000220| 20 77 69 74 68 20 78 20 | 3d 20 31 20 74 6f 20 6e | with x |= 1 to n|
|00000230| 75 6d 62 65 72 20 6f 66 | 20 70 61 67 65 73 0d 73 |umber of| pages.s|
|00000240| 65 74 20 63 75 72 72 65 | 6e 74 70 61 67 65 20 74 |et curre|ntpage t|
|00000250| 6f 20 78 0d 52 65 70 65 | 61 74 20 77 69 74 68 20 |o x.Repe|at with |
|00000260| 78 20 3d 20 31 20 74 6f | 20 74 68 65 20 6e 75 6d |x = 1 to| the num|
|00000270| 62 65 72 20 6f 66 20 6f | 62 6a 65 63 74 73 0d 73 |ber of o|bjects.s|
|00000280| 65 74 20 74 68 65 20 69 | 74 65 6d 64 65 6c 20 74 |et the i|temdel t|
|00000290| 6f 20 22 5c 22 0d 69 66 | 20 28 57 6f 72 64 20 31 |o "\".if| (Word 1|
|000002a0| 20 6f 66 20 6e 61 6d 65 | 20 6f 66 20 6f 62 6a 65 | of name| of obje|
|000002b0| 63 74 20 78 20 3d 20 22 | 53 74 6f 72 79 22 29 20 |ct x = "|Story") |
|000002c0| 61 6e 64 20 c2 0d 28 77 | 6f 72 64 20 32 20 6f 66 |and ..(w|ord 2 of|
|000002d0| 20 69 74 65 6d 20 32 20 | 6f 66 20 6e 61 6d 65 20 | item 2 |of name |
|000002e0| 6f 66 20 6f 62 6a 65 63 | 74 20 78 20 ad 20 22 74 |of objec|t x . "t|
|000002f0| 69 74 6c 65 22 29 20 74 | 68 65 6e 20 2d 2d 20 46 |itle") t|hen -- F|
|00000300| 6f 75 6e 64 20 61 20 73 | 74 6f 72 79 21 0d 73 65 |ound a s|tory!.se|
|00000310| 74 20 74 68 65 20 69 74 | 65 6d 64 65 6c 20 22 2c |t the it|emdel ",|
|00000320| 22 0d 0d 2d 2d 20 43 68 | 65 63 6b 20 69 66 20 77 |"..-- Ch|eck if w|
|00000330| 65 20 68 61 76 65 20 74 | 68 69 73 20 73 74 6f 72 |e have t|his stor|
|00000340| 79 20 61 6c 72 65 61 64 | 79 2e 2e 2e 0d 70 75 74 |y alread|y....put|
|00000350| 20 22 4e 6f 20 4d 61 74 | 63 68 22 20 69 6e 74 6f | "No Mat|ch" into|
|00000360| 20 46 69 6e 64 52 65 73 | 75 6c 74 0d 72 65 70 65 | FindRes|ult.repe|
|00000370| 61 74 20 77 69 74 68 20 | 79 20 3d 20 31 20 74 6f |at with |y = 1 to|
|00000380| 20 6e 75 6d 62 65 72 20 | 6f 66 20 69 74 65 6d 73 | number |of items|
|00000390| 20 69 6e 20 54 68 65 53 | 74 6f 72 69 65 73 0d 69 | in TheS|tories.i|
|000003a0| 66 20 77 6f 72 64 20 32 | 20 6f 66 20 6e 61 6d 65 |f word 2| of name|
|000003b0| 20 6f 66 20 6f 62 6a 65 | 63 74 20 78 20 3d 20 77 | of obje|ct x = w|
|000003c0| 6f 72 64 20 32 20 6f 66 | 20 69 74 65 6d 20 79 20 |ord 2 of| item y |
|000003d0| 6f 66 20 54 68 65 53 74 | 6f 72 69 65 73 20 74 68 |of TheSt|ories th|
|000003e0| 65 6e 0d 70 75 74 20 22 | 4d 61 74 63 68 22 20 69 |en.put "|Match" i|
|000003f0| 6e 74 6f 20 46 69 6e 64 | 52 65 73 75 6c 74 0d 65 |nto Find|Result.e|
|00000400| 6e 64 20 69 66 0d 65 6e | 64 20 72 65 70 65 61 74 |nd if.en|d repeat|
|00000410| 20 2d 2d 20 46 6f 75 6e | 64 20 4d 61 74 63 68 3f | -- Foun|d Match?|
|00000420| 0d 0d 69 66 20 46 69 6e | 64 52 65 73 75 6c 74 20 |..if Fin|dResult |
|00000430| 3d 20 22 4e 6f 20 4d 61 | 74 63 68 22 20 74 68 65 |= "No Ma|tch" the|
|00000440| 6e 0d 70 75 74 20 54 6f | 74 61 6c 53 74 6f 72 69 |n.put To|talStori|
|00000450| 65 73 20 2b 20 31 20 69 | 6e 74 6f 20 54 6f 74 61 |es + 1 i|nto Tota|
|00000460| 6c 53 74 6f 72 69 65 73 | 0d 70 75 74 20 74 68 65 |lStories|.put the|
|00000470| 20 6e 61 6d 65 20 6f 66 | 20 6f 62 6a 65 63 74 20 | name of| object |
|00000480| 78 20 69 6e 74 6f 20 69 | 74 65 6d 20 54 6f 74 61 |x into i|tem Tota|
|00000490| 6c 53 74 6f 72 69 65 73 | 20 6f 66 20 54 68 65 53 |lStories| of TheS|
|000004a0| 74 6f 72 69 65 73 0d 65 | 6e 64 20 69 66 0d 70 75 |tories.e|nd if.pu|
|000004b0| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 46 69 6e |t empty |into Fin|
|000004c0| 64 52 65 73 75 6c 74 0d | 0d 65 6e 64 20 69 66 0d |dResult.|.end if.|
|000004d0| 65 6e 64 20 72 65 70 65 | 61 74 20 2d 2d 20 4f 62 |end repe|at -- Ob|
|000004e0| 6a 65 63 74 73 0d 73 65 | 74 20 74 68 65 20 69 74 |jects.se|t the it|
|000004f0| 65 6d 64 65 6c 20 74 6f | 20 22 2c 22 0d 65 6e 64 |emdel to| ",".end|
|00000500| 20 72 65 70 65 61 74 20 | 2d 2d 20 50 61 67 65 73 | repeat |-- Pages|
|00000510| 0d 73 65 74 20 74 68 65 | 20 63 75 72 72 65 6e 74 |.set the| current|
|00000520| 70 61 67 65 20 74 6f 20 | 31 20 0d 0d 72 65 70 65 |page to |1 ..repe|
|00000530| 61 74 20 77 69 74 68 20 | 73 20 3d 20 31 20 74 6f |at with |s = 1 to|
|00000540| 20 54 6f 74 61 6c 53 74 | 6f 72 69 65 73 0d 70 75 | TotalSt|ories.pu|
|00000550| 74 20 69 74 65 6d 20 73 | 20 6f 66 20 74 68 65 53 |t item s| of theS|
|00000560| 74 6f 72 69 65 73 20 69 | 6e 74 6f 20 54 68 65 53 |tories i|nto TheS|
|00000570| 74 6f 72 79 4f 62 6a 65 | 63 74 0d 73 65 74 20 69 |toryObje|ct.set i|
|00000580| 74 65 6d 64 65 6c 20 74 | 6f 20 22 5c 22 0d 73 65 |temdel t|o "\".se|
|00000590| 74 20 63 75 72 72 65 6e | 74 70 61 67 65 20 74 6f |t curren|tpage to|
|000005a0| 20 69 74 65 6d 20 33 20 | 6f 66 20 54 68 65 53 74 | item 3 |of TheSt|
|000005b0| 6f 72 79 4f 62 6a 65 63 | 74 0d 73 65 74 20 69 74 |oryObjec|t.set it|
|000005c0| 65 6d 64 65 6c 20 74 6f | 20 22 2c 22 0d 0d 73 65 |emdel to| ","..se|
|000005d0| 6c 65 63 74 20 61 6c 6c | 20 74 65 78 74 20 69 6e |lect all| text in|
|000005e0| 20 73 74 6f 72 79 20 69 | 74 65 6d 20 31 20 6f 66 | story i|tem 1 of|
|000005f0| 20 73 74 6f 72 79 6c 6f | 63 20 6f 66 20 6f 62 6a | storylo|c of obj|
|00000600| 65 63 74 20 54 68 65 53 | 74 6f 72 79 4f 62 6a 65 |ect TheS|toryObje|
|00000610| 63 74 0d 73 65 74 20 73 | 74 79 6c 65 52 65 63 6f |ct.set s|tyleReco|
|00000620| 6d 70 6f 73 69 74 69 6f | 6e 20 74 6f 20 66 61 6c |mpositio|n to fal|
|00000630| 73 65 0d 73 65 74 20 74 | 65 78 74 66 6f 6e 74 20 |se.set t|extfont |
|00000640| 74 6f 20 54 48 45 5f 46 | 4f 4e 54 0d 73 65 74 20 |to THE_F|ONT.set |
|00000650| 74 65 78 74 73 69 7a 65 | 20 74 6f 20 54 48 45 5f |textsize| to THE_|
|00000660| 53 49 5a 45 0d 73 65 74 | 20 74 65 78 74 66 61 63 |SIZE.set| textfac|
|00000670| 65 20 74 6f 20 70 6c 61 | 69 6e 0d 73 65 74 20 66 |e to pla|in.set f|
|00000680| 6c 65 78 69 62 6c 65 43 | 68 61 72 53 69 7a 65 20 |lexibleC|harSize |
|00000690| 74 6f 20 74 72 75 65 0d | 53 65 74 20 66 6c 65 78 |to true.|Set flex|
|000006a0| 69 62 6c 65 4c 65 61 64 | 69 6e 67 20 74 6f 20 74 |ibleLead|ing to t|
|000006b0| 72 75 65 0d 53 65 74 20 | 66 6c 65 78 69 62 6c 65 |rue.Set |flexible|
|000006c0| 43 68 61 72 53 69 7a 65 | 20 74 6f 20 74 72 75 65 |CharSize| to true|
|000006d0| 0d 73 65 74 20 73 74 79 | 6c 65 52 65 63 6f 6d 70 |.set sty|leRecomp|
|000006e0| 6f 73 69 74 69 6f 6e 20 | 74 6f 20 74 72 75 65 0d |osition |to true.|
|000006f0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 73 65 74 20 |.end rep|eat.set |
|00000700| 63 75 72 72 65 6e 74 70 | 61 67 65 20 74 6f 20 31 |currentp|age to 1|
|00000710| 0d 65 6e 64 20 53 65 74 | 53 74 6f 72 79 46 6f 6e |.end Set|StoryFon|
|00000720| 74 73 0d 00 00 04 00 09 | 00 02 00 24 00 00 00 00 |ts......|...$....|
|00000730| 00 00 00 3c 00 14 01 42 | 01 ec 00 00 00 00 00 00 |...<...B|........|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 01 00 00 00 01 5d | 00 00 00 5d 00 00 00 3c |.......]|...]...<|
|00000790| 70 74 69 6f 6e 73 09 50 | 72 6f 6a 65 63 74 6f 72 |ptions.P|rojector|
|000007a0| 46 00 01 00 04 00 00 04 | 1a 00 01 00 02 00 02 00 |F.......|........|
|000007b0| 10 5f 43 4e 53 65 74 53 | 74 6f 72 79 46 6f 6e 74 |._CNSetS|toryFont|
|000007c0| 73 4e 02 00 00 00 53 47 | 50 41 53 43 50 47 01 00 |sN....SG|PASCPG..|
|000007d0| 00 00 53 47 50 41 53 43 | 50 47 01 00 ff ff ff ff |..SGPASC|PG......|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 a6 58 53 80 00 00 | 06 ba 00 00 01 99 50 75 |...XS...|......Pu|
|00000800| 72 67 65 4d 65 6d 20 20 | 20 00 00 01 63 00 04 00 |rgeMem | ...c...|
|00000810| 00 03 e2 00 01 00 04 00 | 00 02 2a 00 01 00 03 00 |........|..*.....|
|00000820| 03 00 08 06 50 42 4f 70 | 65 6e 20 00 00 03 d7 00 |....PBOp|en .....|
|00000830| 04 00 00 07 ee 00 01 00 | 04 00 00 04 7a 00 01 00 |........|....z...|
|00000840| 04 00 04 00 08 07 50 42 | 48 4f 70 65 6e 00 00 03 |......PB|HOpen...|
|00000850| d8 00 04 00 00 09 84 00 | 01 00 04 00 00 05 62 00 |........|......b.|
|00000860| 01 00 00 00 00 00 0c 0b | 50 42 44 54 41 64 64 49 |........|PBDTAddI|
|00000870| 63 6f 6e 00 00 03 d9 00 | 04 00 00 09 92 00 01 00 |con.....|........|
|00000880| 00 00 00 59 ed e1 71 48 | 3f e5 32 30 00 04 00 00 |...Y..qH|?.20....|
|00000890| 00 00 00 00 00 00 a6 1c | 9a 10 a6 1b 38 e2 a6 00 |........|....8...|
|000008a0| 85 cd 00 03 47 8c 00 02 | 00 13 00 03 0c 6e 65 77 |....G...|.....new|
|000008b0| 73 6c 65 74 74 65 72 73 | ba 00 07 73 74 65 76 65 |sletters|...steve|
|000008c0| 20 63 00 01 32 00 10 5f | 43 4e 53 65 74 53 74 6f | c..2.._|CNSetSto|
|000008d0| 72 79 46 6f 6e 74 73 00 | 00 00 00 00 00 00 00 01 |ryFonts.|........|
|000008e0| 00 00 00 01 5d 00 00 00 | 5d 00 00 00 3c 01 18 9c |....]...|]...<...|
|000008f0| ec 0e b2 00 00 00 1c 00 | 32 00 00 63 6b 69 64 00 |........|2..ckid.|
|00000900| 00 00 0a 00 80 00 00 00 | 00 00 00 01 1a 82 88 09 |........|........|
|00000910| 50 72 6f 6a 65 63 74 6f | 72 00 00 00 00 00 00 00 |Projecto|r.......|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+